package com.otitan.forest.right.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.otitan.webapp.framework.basepro.model.PageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 角色资源关系
 *
 * @author xiazw
 * @email *****@mail.com
 * @date 2020-08-04 14:19:43
 */
@Data
@TableName("SYS_ROLE_RESOURCE_RELATION")
@ApiModel("角色资源关系实体")
public class SysRoleResourceRelationEntity extends PageReq implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 角色ID
     */
    @ApiModelProperty("角色ID")
    @TableId("ROLE_ID")
    private String roleId;

    /**
     * 资源
     */
    @ApiModelProperty("资源")
    @TableField("RESOURCE_ID")
    private String resourceId;


}
